import React, { useEffect } from "react";
import { HashRouter, Route, Link } from 'react-router-dom'
import Header from "./modules/header/header";
import Home from './modules/home';
import Article from "./modules/article";
import Gallery from "./modules/gallery";
import Resume from "./modules/resume";
import About from "./modules/about";
import Footer from "./modules/footer/footer";


function AppRouter() {
  return (
    <HashRouter>
        <Header />
        <Route path="/" exact component={Home} />
        <Route path="/article/" component={Article} />
        <Route path="/resume/" component={Gallery} />
        <Route path="/gallery/" component={Resume} />
        <Route path="/about/" component={About} />
        <Footer />
    </HashRouter>
  );
}
export default AppRouter;